InitOpenTransportUtilities
Initializes only that part of the Open Transport software that handles ports.C INTERFACE
OSStatus InitOpenTransportUtilities(void);C++ INTERFACES
None. C++ applications use the C interface to this function.DESCRIPTION
TheInitOpenTransportUtilities
function initializes only that portion of the Open Transport software that handles ports. Call this function before using other Open Transport functions. A return value other thankOTNoError
indicates that the Open Transport software is not installed.SPECIAL CONSIDERATIONS
If your program uses the Apple Shared Library Manager (ASLM), you must call theInitLibraryManager
function to initialize it before calling theInitOpenTransportUtilities
function.SEE ALSO
To open and load all of the Open Transport software, use theInitOpenTransport
function (page 6-23).To find out whether the Open Transport software is installed, use the
Gestalt
function, which is described in Inside Macintosh: Operating System Utilities and whose returned response bits are described in the section "The Gestalt Selector and Response Bits" (page 6-15).For a set of steps to follow when initializing Open Transport, see the section "Initializing Open Transport" (page 6-9).
To close the Open Transport software, use the
CloseOpenTransport
function (page 6-26).